@extends('admin.base')
    @section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			订单信息管理
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">订单信息管理</a></li>
            <li class="active">订单信息</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 浏览订单详情 </h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                <form action="#" method="post" enctype="multipart/form-data" class="form-horizontal">
				  <input type="hidden" name="_method" value="PUT">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">订单号：</label>
                      <div class="col-sm-4">
                        <input type="text" name="userName" value="{{$list->orderForm}}"  class="form-control" id="inputEmail3" readonly placeholder="订单号">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">图书名：</label>
                      <div class="col-sm-4">
                        <input type="text" name="tname" value="{{$list->tname}}" class="form-control" id="inputEmail3" readonly placeholder="图书名">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">购买数量：</label>
                      <div class="col-sm-4">
                        <input type="text" name="num" value="{{$list->num}}" class="form-control" id="inputEmail3"readonly placeholder="购买数量">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">总计金额：</label>
                      <div class="col-sm-4">
                        <input type="text" name="money" value="{{$list->price}}" class="form-control" id="inputEmail3" readonly placeholder="总计金额">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">付款方式：</label>
                      <div class="col-sm-4">
                        <input type="text" name="payment" value="{{$list->payment}}" class="form-control" id="inputEmail3" readonly placeholder="付款方式">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">备注：</label>
                      <div class="col-sm-4">
                        <input type="text" name="content" value="{{$list->content}}" class="form-control" id="inputEmail3" readonly placeholder="备注">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">订单生成时间：</label>
                      <div class="col-sm-4">
                        <input type="text" name="ttime" value="{{$list->ttime}}" class="form-control" id="inputEmail3" readonly placeholder="订单生成时间">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">收货人姓名：</label>
                      <div class="col-sm-4">
                        <input type="text" name="pName" value="{{$addr->pName}}" class="form-control" id="inputEmail3" readonly placeholder="收货人姓名">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">收货地址：</label>
                      <div class="col-sm-4">
                        <input type="text" name="address" value="{{$addr1}}" class="form-control" id="inputEmail3" readonly placeholder="收货地址">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">邮政编码：</label>
                      <div class="col-sm-4">
                        <input type="text" name="post" value="{{$addr->post}}" class="form-control" id="inputEmail3" readonly placeholder="邮政编码">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">收货人电话：</label>
                      <div class="col-sm-4">
                        <input type="text" name="phone" value="{{$addr->phone}}" class="form-control" id="inputEmail3" readonly placeholder="收货人电话">
                      </div>
                    </div>
                  </div><!-- /.box-body -->
                  <div class="box-footer">
				   
                  </div><!-- /.box-footer -->
                </form> 
					<div class="col-sm-offset-2 col-sm-1">
						<a href="{{url('admin/order')}}"><button type="submit" class="btn btn-primary">返回</button></a>
                    </div>
				<div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
       
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection